package com.chenfan.mcn.model.dto;

import com.chenfan.common.extension.validation.groups.Modify;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author tangwei
 * Date:     2021/2/4 18:38
 * Description: 系统参考分成金额
 */
@SuppressWarnings("AlibabaPojoNoDefaultValue")
@Data
public class DevidedAmountDTO implements Serializable {

    /**
     * 执行单id
     */
    @NotNull(message = "执行单id不能为空")
    private Long excutionOrderId;

    /**
     * 实际发布日期
     */
    @NotNull(message = "实际发布日期不能为空", groups = {Modify.class})
    private Date realPublishDate;
}